<script lang="ts" setup>
// @ts-ignore
let props = defineProps({
    say: '' as any,
});

</script>
<template>
    <header class="site-header">
        <div class="entry-header header-bg"
             data-fancybox="images"
             data-slug="cover"
             :data-caption="props.say.content">
            <img width="2560" height="1440"
                 v-for="(img, index) of props.say.imgs"
                 :src="img"
                 class="attachment-post-thumbnail size-post-thumbnail wp-post-image loaded"
                 alt=""
                 decoding="async"
                 fetchpriority="high"
                 @error="handleErrorArticleImage">
            <i class="loading">封面图加载中</i>
        </div>
        <div class="entry-title">
            <h1>{{ props.say.content }}</h1>
        </div>
    </header>
</template>
